<template>
	<div class="body richtext" :style="{ background: data.web.background, color: data.web.color }">
		<div class="row" :style="{ background: data.web.Contentbackground }">
			<!-- 内容使用编辑器 -->
			<Tiptap :content="data.web.content[$i18n.locale]"></Tiptap>
		</div>
	</div>
</template>
<script>
	import Tiptap from '@/components/Tiptap.vue'
	export default {
		components: {
			Tiptap,
		},
		props: ['data'],
	}
</script>
<style>
	.richtext .row {
		align-items: center;
		/* 纵向居中 */
		justify-content: center;
	}
</style>
